package ch.jarduino.ui.lib;

import org.jdesktop.swingx.JXFrame;

import javax.swing.*;

/**
 * Created with IntelliJ IDEA.
 * User: Marco
 * Date: 02.11.13
 * Time: 13:45
 * To change this template use File | Settings | File Templates.
 */
public class EditorComponent extends CodeEditorPane {

  private JXFrame base;

  public EditorComponent(JXFrame _baseFrame) {
    super();
    this.base = _baseFrame;
    init();
  }

  private void init() {
    getBaseFrame().getContentPane().add(this);
  }

  private JXFrame getBaseFrame() {
    return base;
  }
}
